package com.gt.web.srv.web.api.resource;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 微信小程序登录入参
 *
 * @author Yu Chaohua
 * @date 2024/5/16 23:55
 */
@Data
@ApiModel(description = "用户响应信息")
public class ResponseUserVo {

    @ApiModelProperty(value= "用户的ID",name = "用户的ID")
    private Long userId;

    @ApiModelProperty(value= "用户名",name = "用户名")
    private String userName;

    @ApiModelProperty(value= "sessionKey",name = "sessionKey")
    private String sessionKey;

    @ApiModelProperty(value= "openId信息",name = "openId信息")
    private String openId;

    @ApiModelProperty(value= "unionId",name = "unionId")
    private String unionId;

    @ApiModelProperty(value= "登录时获取的 code",name = "登录时获取的 code")
    private String token;

    // @ApiModelProperty(value= "用户状态",name = "用户状态",notes = "-1 未注册； 0 待审核； 1审核通过； 2审核不通过，3:待用户填充")
    @ApiModelProperty(value= "用户状态",name = "用户状态",notes = "-1 未绑定； 0 待审核； 1审核通过； 2审核不通过，3:待用户填充")
    private Integer userStatus = -1;


    @ApiModelProperty(name = "用户角色",value = "用户角色信息",notes = "0:普通村民,1:网格员,2:村委")
    private Integer role = 0;
    private Integer isParty = 1;

}


